using IronSoftware.Drawing;
// AnyBitmap
System.Drawing.Bitmap bitmapsysBitmap;
System.Drawing.Image sysImage;
AnyBitmap ironBitmap;
// Color
System.Drawing.Color sysColor;
Color ironColor;
// Rectangle
System.Drawing.Rectangle sysRectangle;
Rectangle ironRectangle;
// Font
System.Drawing.Font sysFont;
Font ironFont;
Imports IronSoftware.Drawing
' AnyBitmap
Private bitmapsysBitmap As System.Drawing.Bitmap
Private sysImage As System.Drawing.Image
Private ironBitmap As AnyBitmap
' Color
Private sysColor As System.Drawing.Color
Private ironColor As Color
' Rectangle
Private sysRectangle As System.Drawing.Rectangle
Private ironRectangle As Rectangle
' Font
Private sysFont As System.Drawing.Font
Private ironFont As Font
Install-Package IronOcr
OCR描画
IronSoftware.Drawing は、もともとIron Softwareによって開発されたオープンソース ライブラリであり、C# ソフトウェア エンジニアが Windows、macOS、Linux プラットフォーム上 for .NETプロジェクトでSystem.Drawingを置き換えるのに役立ちます。